import request from '@/sheep/request';

// 广告位 API
const BannerApi = {
  // 获取指定位置banner列表
  getBannerList: (position) => {
    return request({
      url: '/promotion/banner/list',
      method: 'GET',
      params: { position },
    });
  },

  // 发送监听请求
  sendMonitoringLink: (data) => {
    return request({
      url: '/promotion/banner/send-monitoringLink',
      method: 'POST',
      data: data,
      custom: {
        showError: false,
        showLoading: false,
      },
    });
  },
};


export default BannerApi;
